package com.demo.fulllink.service;

import com.demo.fulllink.module.po.OrderPO;
import com.demo.fulllink.module.vo.OrderVO;
import com.demo.fulllink.module.vo.ResponseVO;

import java.io.Serializable;

public interface OrderDBService {
    
    public OrderPO findById(Serializable id);
    
    public void insert(OrderPO orderPO);
    
    public void updateById(OrderPO orderPO);
    
    /**
     * 实际下单
     *
     * @param orderVO
     */
    public ResponseVO actualPlaceOrder(OrderVO orderVO);
    
    public void removeAll();
}
